﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@using (Html.BeginForm()){

if (string.IsNullOrEmpty(ViewBag.Url) == false)
{
    @Html.Hidden("url");
}
else
{
    @Html.Hidden("url", ViewBag.Url as string);
}

	<div id="wrap">	
		<div id="loginleft">
			<div style="margin:30px";>
			<p style="font-size:25pt;" >신규회원</p>
			</div>
			<div style="background-image:url(@Url.Content("~/images/newmember_0.png")); width:400px; height:154px;" >			
			</div>
			<div style="text-align:center;">
				<button class="btn btn-large btn btn-primary" type="button" onclick="javascript:location.href='@Url.Content(BuyThePeople.ConstFactory.UrlJoin)'">회원가입하기</button>
			</div>
		</div>
		<div id="logingab"></div>
		<div id="loginright">
			<div style="margin:30px";>
				<p style="font-size:25pt;" >로그인</p>
			</div>
			<div style="margin-left:90px;" >
				  <div class="control-group" >
					<label class="control-label" for="inputEmail" >아이디</label>
					<div class="controls">
					  @Html.Editor("id")
					</div>
				  </div>
				  <div class="control-group" >
					<label class="control-label" for="inputPassword">비밀번호</label>
					<div class="controls">
					  @Html.Password("pw")
					</div>
				  </div>
				  <div class="control-group" style="margin-left:60px;" >
					<div class="controls">					  
					  <button type="submit" class="btn btn-large btn btn-primary" >로그인</button>
					</div>
				  </div>
				  <div class="control-group" >
                    @ViewBag.Result
                  </div>
			</div>
		</div>
    </div>
}